﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Ent;
using Travel.Dal;

namespace Travel.Bll
{
    public class UserInfoBll
    {
        UserInfoDal dal = new UserInfoDal();

        public bool AddUserInfo(UserInfo UserInfo)
        {
            try
            {
                return dal.AddUserInfo(UserInfo);
            }
            catch (Exception)
            {
                return false;
            }
        }

        public bool SetUserInfo(UserInfo UserInfo)
        {
            try
            {
                return dal.SetUserInfo(UserInfo);
            }
            catch (Exception)
            {
                return false;
            }
        }
    }
}
